﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Strive.Util.Text;
using Strive.Util.Logging;
using Strive.Core.Validations;
using Strive.Core.Service;
using Strive.Core.Translators;
using Strive.Util.Maths;
using Strive.Reflection;
using Strive.Aspects;

using Strive.DataAccess.Base.Model.PageObject;
using Strive.DataAccess.Base.BO;

using Strive.DataAccess.Base.Model.SearcherObject;

using OTA.Notification.DAO.Terminal;
using OTA.Notification.Entity.Terminal;

using OTA.Notification.Interface.IDAO.Terminal;
using OTA.Notification.Interface.IBO.Terminal;

using Strive.DataAccess;
using Strive.Util;

namespace OTA.Notification.BO.Terminal
{

    public abstract class MsgTerminalBO : BaseBOBean<int, MsgTerminalConfigBean, MsgTerminalConfigDAO, IMsgTerminalConfigDao>, IMsgTerminalConfigBO
    {
        ///// <summary>
        ///// 方法名称: SaveBean
        ///// 内容摘要: 增、删、改 实体MsgAdapterConfigBean
        ///// </summary>
        ///// <exception cref="BOExption ">业务异常</exception>
        ///// <returns>SaveAction状态</returns>
        //public virtual SaveAction SaveBean(MsgTerminalConfigBean obj)
        //{
        //    try
        //    {
        //        return base.Save(obj);
        //    }
        //    catch (DAOException ex)
        //    {
        //        throw new BOExption("访问MsgTerminalBO时调用SaveBean方式错误", ex);
        //    }
        //}

        ///// <summary>
        ///// 方法名称: SelectByPK
        ///// 内容摘要: 由键值获取一个实体对象
        ///// </summary>
        ///// <exception cref="BOExption ">业务异常</exception>
        ///// <returns>MsgAdapterConfig</returns>
        //public virtual MsgTerminalConfigBean SelectByPK(int pk)
        //{
        //    try
        //    {
                
        //        return base.Load(pk);
        //    }
        //    catch (DAOException ex)
        //    {
        //        throw new BOExption("访问MsgTerminalBO时调用SelectByPK方式错误", ex);
        //    }
        //}


        public virtual PageResult<MsgTerminalConfigBean> SelectPageList(BasePageSearch search)
        {

            return base.DomainDAO.SelectPageList(search);

        }

        
    }
}
